package dyyx.drools.demo1;

public class RuleContext {

	private String name;
	
	private int age;
	private int matched = 0;


	private String result;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}
	
	public void match(){
		matched++;
	}
	
	
	public String toString(){
		return name+","+age+","+result+",matched="+matched;
	}
	

}